package com.project.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 柱状图,月统计对象
 */
@Data
@ApiModel(value = "月统计对象")
public class ColumnBean {
    @ApiModelProperty(value = "类别")
    private String type;
    @ApiModelProperty(value = "月份")
    private String month;
    @ApiModelProperty(value = "销售金额")
    private Integer num;

    public ColumnBean() {
    }

    public ColumnBean(String type, String month, Integer num) {
        this.type = type;
        this.month = month;
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ColumnBean{" +
                "type='" + type + '\'' +
                ", month='" + month + '\'' +
                ", num=" + num +
                "}\n";
    }
}
